package is.ru.honn.rumblr.domain;

import java.util.ArrayList;
import java.util.List;

public class User
{
  protected String username;
  protected String name;

  List follwers = new ArrayList<User>();

  public String getUsername()
  {
    return username;
  }

  public void setUsername(String username)
  {
    this.username = username;
  }

  public String getName()
  {
    return name;
  }

  public void setName(String name)
  {
    this.name = name;
  }

  public void addFollower(User user)
  {
    follwers.add(user);
  }

  public List getFollwers()
  {
    return follwers;
  }
}
